﻿
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

<input type="button" id="onGetData" value="查询" onclick="onGetData()" />

<script>
    function onGetData() {
        $.ajax({
            url: "GetList",
            type: "post",
            data: {},
            dataType: "json",
            success: function (data) {
                var d = data;
            }
        });
    }


</script>